package practice.unicode;

import java.nio.charset.StandardCharsets;
import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        int a = 0b1111111111111111;
        System.out.println(Integer.toBinaryString(a));
        System.out.println(a);
        int b = 0b1111111;
        System.out.println(b);
        int c = 0xA1;
        System.out.println(Integer.toBinaryString(c));

        String name = "储a";
        byte[] data = name.getBytes(StandardCharsets.UTF_8);
        System.out.println(Arrays.toString(data));

    }
}
